<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>FPAG烧录系统</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="css/bootstrap.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="css/ionicons.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="css/AdminLTE.css">
    <link rel="stylesheet" href="css/skins/skin-blue.min.css">
    <link rel="stylesheet" href="css/bootstrap-table.css">
    <link rel="stylesheet" href="css/jquery.treegrid.css">
    <link rel="stylesheet" href="css/myCommon.css">
    <link rel="stylesheet" href="css/bootstrap-tab.css">
    <link rel="stylesheet" type="text/css" href="css/main.css"/>
    <!-- jQuery 3 -->
    <script src="js/jquery-3.3.1.min.js"></script>
    <!-- Bootstrap 3.3.7 -->
    <script src="js/bootstrap.js"></script>
    <!-- AdminLTE App -->
    <script src="js/adminlte.js"></script>
    <script src="js/bootstrap-table.js"></script>
    <script src="js/bootstrap-table-zh-CN.js"></script>
    <script src="js/bootstrap-table-treegrid.js"></script>
    <script src="js/jquery.treegrid.min.js"></script>
    <script src="js/bootstrap-tab.js"></script>
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

    <!-- Main Header -->
    <header class="main-header">

        <!-- Logo -->
        <a href="#" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><i class="fa fa-arrows" aria-hidden="true"></i></span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg"><b>Welcome</b>  </span>
        </a>

        <!-- Header Navbar -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
                <span class="sr-only">Toggle navigation</span>
            </a>
            <!-- Navbar Right Menu -->
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <!-- Messages: style can be found in dropdown.less-->
                    <li class="dropdown messages-menu">
                        <!-- Menu toggle button -->
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="fa fa-envelope-o">个人消息</i>
                            <span class="label label-success">1</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="header">您有一个新的消息</li>
                            <li>
                                <!-- inner menu: contains the messages -->
                                <ul class="menu">
                                    <li><!-- start message -->
                                        <a href="#">
                                            <div class="pull-left">
                                                <!-- User Image -->
                                                <img src="img/1.png" class="img-circle" alt="User Image">
                                            </div>
                                            <!-- Message title and timestamp -->
                                            <h4>
                                                电工电子实验中心
                                                <%--<small><i class="fa fa-clock-o"></i> 5 mins</small>--%>
                                            </h4>
                                            <!-- The message -->
                                            <p>请尽快完成实验预约！</p>
                                        </a>
                                    </li>
                                    <!-- end message -->
                                </ul>
                                <!-- /.menu -->
                            </li>
                            <li class="footer"><a href="#">更多消息</a></li>
                        </ul>
                    </li>
                    <!-- /.messages-menu -->

                    <!-- Notifications Menu -->
                    <li class="dropdown notifications-menu">
                        <!-- Menu toggle button -->
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="fa fa-bell-o">实验通知</i>
                            <span class="label label-warning">1</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="header">实验室新通知</li>
                            <li>
                                <!-- Inner Menu: contains the notifications -->
                                <ul class="menu">
                                    <li><!-- start notification -->
                                        <a href="#">
                                            <i class="fa fa-users text-aqua"></i> FPGA功能即将上线
                                        </a>
                                    </li>
                                    <!-- end notification -->
                                </ul>
                            </li>
                            <li class="footer"><a href="#">全部内容</a></li>
                        </ul>
                    </li>
                    <!-- User Account Menu -->
                    <li class="dropdown user user-menu">
                        <!-- Menu Toggle Button -->
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <!-- The user img in the navbar-->
                            <img src="img/1.png" class="user-image" alt="User Image">
                            <!-- hidden-xs hides the username on small devices so only the img appears. -->
                            <span class="hidden-xs">${username}</span>
                        </a>
                        <ul class="dropdown-menu">
                            <!-- The user img in the menu -->
                            <li class="user-header">
                                <img src="img/1.png" class="img-circle" alt="User Image">
                                <p>
                                    ${username} - 学生用户
                                </p>
                            </li>
                            <!-- Menu Body -->
                            <!-- Menu Footer-->
                            <li class="user-footer">
                                <%--<div class="pull-left">--%>
                                <%--<a href="#" class="btn btn-default btn-flat"></a>--%>
                                <%--</div>--%>
                                <div class="pull-right">
                                    <a href="finish?username=${username}" class="btn btn-default btn-flat"><i class="fa fa-power-off"></i>退出登陆</a>
                                </div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
            <!-- Sidebar user panel (optional) -->
            <div class="user-panel">
                <div class="pull-left image">
                    <img src="img/1.png" class="img-circle" alt="User Image">
                </div>
                <div class="pull-left info">
                    <p>${username}</p>
                    <!-- Status -->
                    <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
                </div>
            </div>
            <!-- Sidebar Menu -->
            <ul class="sidebar-menu" data-widget="tree">
                <li class="header"><span class="fa-lg"><strong>系统菜单</strong></span></li>
                <!-- Optionally, you can add icons to the links -->
                <li><a href="jump?name=fpga_main&username=${username}"><i class="fa fa-home"></i><span>主页</span></a></li>
                <li class="treeview">
                    <a href="#"><i class="fa fa-flag-o"></i> <span>实验平台</span>
                        <span class="pull-right-container">
                            <i class="fa fa-angle-left pull-right">
                            </i>
                         </span>
                    </a>
                    <ul class="treeview-menu">
                        <li><a href="jump?name=fpga_test-platform&username=${username}">实验平台信息</a></li>
                        <li><a href="jump?name=fpga_equipment&username=${username}">实验设备</a></li>
                    </ul>
                </li>

                <li class="treeview">
                    <a href="#"><i class="fa fa-list-ul"></i> <span>教学信息</span>
                        <span class="pull-right-container">
                            <i class="fa fa-angle-left pull-right"></i>
                         </span>
                    </a>
                    <ul class="treeview-menu">
                        <li><a href="jump?name=fpga_tea-plan&username=${username}">授课计划</a></li>
                        <li><a href="jump?name=fpga_tea-team&username=${username}">教学队伍</a></li>
                    </ul>
                </li>
                <li class="treeview">
                    <a href="#"><i class="fa fa-file-video-o"></i> <span>资源下载</span>
                        <span class="pull-right-container">
                            <i class="fa fa-angle-left pull-right"></i>
                         </span>
                    </a>
                    <ul class="treeview-menu">
                        <li><a href="jump?name=fpga_video&username=${username}">教学视频</a></li>
                        <li><a href="jump?name=fpga_document&username=${username}">教学文档</a></li>
                    </ul>
                </li>

                <li><a href="deviceStatus?username=${username}"><i class="fa fa-hand-o-right "></i> <span>实验入口</span></a></li>
                <li><a href="jump?name=fpga_bbs&username=${username}"><i class="fa fa-fire"></i><span>教学论坛</span></a></li>
                <li class="treeview">
                    <a href="#"><i class="fa fa-user-circle-o"></i> <span>用户中心</span>
                        <span class="pull-right-container">
                            <i class="fa fa-angle-left pull-right"></i>
                         </span>
                    </a>
                    <ul class="treeview-menu">
                        <li><a href="jump?name=fpga_selectUser&username=${username}">用户信息</a></li>
                        <li><a href="jump?name=fpga_grade&username=${username}">成绩查看</a></li>
                        <li><a href="jump?name=fpga_updatepwd&username=${username}">密码修改</a></li>
                        <li><a href="jump?name=fpga_record&username=${username}">实验记录</a></li>
                    </ul>
                </li>
            </ul>
            <!-- /.sidebar-menu -->
        </section>
        <!-- /.sidebar -->
    </aside>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Main content -->
        <section class="content container-fluid">
            <!--论坛导航开始-->
            <div class="container-fluid">
                <div class="row bbs-nav">
                    <ul class="nav nav-pills">
                        <li><a href="#"><font color="white">C语言</font></a></li>
                        <li><a href="#"><font color="white">C++</font></a></li>
                        <li><a href="#"><font color="white">Java</font></a></li>
                        <li><a href="#"><font color="white">C#</font></a></li>
                        <li><a href="#"><font color="white">数字电子实验</font></a></li>
                        <li><a href="#"><font color="white">单片机</font></a></li>
                        <form action="" method="get" class="form-inline pull-right">
                            <div class="input-group">
                                <input type="text" name="key" class="form-control" placeholder="搜索帖子" size="15"/>
                                <div class="input-group-btn">
                                    <button type="submit" class="btn btn-default"><i class="fa fa-search"></i> </button>
                                </div>
                            </div>
                        </form>
                    </ul>
                </div>
            </div>
            <!--论坛导航结束-->
            <!--页面头部结束-->

            <!--页面主体开始-->
            <div class="main"  style="margin-top: 10px;">
                <div class="row container">
                    <!--下面的两个按钮只在手机端显示-->
                    <p class="visible-md text-center"><a href="jump?name=fpga_post&username=${username}" class="btn btn-info btn-block"> 我要发帖</a></p>
                    <!--帖子列表开始-->
                    <div class="col-md-9">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <h3 class="panel-title"><span class="glyphicon glyphicon-envelope"></span> 最新帖子 <a href="#" class="pull-right">查看更多</a></h3>
                            </div>
                            <div class="panel-body">
                                <div class="list-group">
                                    <a href="#" class="list-group-item">C语言怎么学习呀？<span class="pull-right">2017 - 8 - 23</span></a>
                                    <a href="#" class="list-group-item">感觉什么都不会怎么办？<span class="pull-right">2017 - 8 - 23</span></a>
                                    <a href="#" class="list-group-item">C语言怎么学习呀？<span class="pull-right">2017 - 8 - 23</span></a>
                                    <a href="#" class="list-group-item">感觉什么都不会怎么办？<span class="pull-right">2017 - 8 - 23</span></a>
                                    <a href="#" class="list-group-item">C语言怎么学习呀？<span class="pull-right">2017 - 8 - 23</span></a>
                                    <a href="#" class="list-group-item">感觉什么都不会怎么办？<span class="pull-right">2017 - 8 - 23</span></a>
                                </div>
                            </div>
                        </div>

                        <!--分页功能开始-->
                        <div class="text-center">
                            <ul class="pagination">
                                <li>
                                    <a href="#">&laquo;</a>
                                </li>
                                <li class="active"><a href="#">1</a></li>
                                <li>
                                    <a href="#">2</a>
                                </li>
                                <li>
                                    <a href="#">3</a>
                                </li>
                                <li>
                                    <a href="#">4</a>
                                </li>
                                <li>
                                    <a href="#">5</a>
                                </li>
                                <li>
                                    <a href="#">&raquo;</a>
                                </li>
                            </ul>
                        </div>
                        <!--分页功能结束-->
                    </div>
                    <!--帖子列表结束-->
                    <div class="col-md-3 hidden-xs">
                        <div class="col-md-11">
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h4 class="panel-title text-center"><i class="fa fa-user-circle"></i> 当前用户</h4>
                                </div>
                                <div class="panel-body text-center">
                                    <img src="img/3.png" alt="用户头像" class="img-circle img-thumbnail" width="160" height="100"/>
                                    <div class="caption">
                                        <h5>${username}</h5>
                                        <p>发帖数量：<span>12</span></p>
                                        <p><a href="jump?name=fpga_post&username=${username}" class="btn btn-info"> 我要发帖</a>
                                            <a href="jump?name=fpga_look&username=${username}" class="btn btn-info">我的帖子</a></p>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
            <!--页面主体结束-->
        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <!-- Main Footer -->
    <footer class="main-footer">
        <!-- To the right -->
        <div class="pull-right hidden-xs">
            Author by NP完全问题
        </div>
        <!-- Default to the left -->
        <%--<p class="text-center">--%>
        <%--<strong>Copyright &copy; 2019 <a href="http://eelab.njupt.edu.cn/" target="right">南京邮电大学电工电子教学中心</a>.</strong> All rights reserved.--%>
        <%--</p>--%>

    </footer>
</div>
</body>
</html>